package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-09-15
 */
@TableName("nb_bk_stats")
public class BkStats extends Model<BkStats> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("g_bk_code")
    private Integer gBkCode;
    @TableField("g_name")
    private String gName;
    @TableField("g_bk_qd")
    private Integer gBkQd;
    @TableField("g_bk_date")
    private Date gBkDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Integer getgBkQd() {
        return gBkQd;
    }

    public void setgBkQd(Integer gBkQd) {
        this.gBkQd = gBkQd;
    }

    public Date getgBkDate() {
        return gBkDate;
    }

    public void setgBkDate(Date gBkDate) {
        this.gBkDate = gBkDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Integer getgBkCode() {
        return gBkCode;
    }

    public void setgBkCode(Integer gBkCode) {
        this.gBkCode = gBkCode;
    }

    @Override
    public String toString() {
        return "BkStats{" +
        "id=" + id +
        ", gName=" + gName +
        ", gBkQd=" + gBkQd +
        ", gBkDate=" + gBkDate +
        "}";
    }
}
